//
//  WriteViewController.m
//  QRReadDemo
//
//  Created by Hailong.wang on 15/11/5.
//  Copyright © 2015年 Hailong.wang. All rights reserved.
//

#import "WriteViewController.h"
#import "QRCodeGenerator.h"

@interface WriteViewController ()

@end

@implementation WriteViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    UIImageView *imageView = [[UIImageView alloc] initWithImage:[QRCodeGenerator qrImageForString:@"握草，被发现了" imageSize:200]];
    imageView.center = self.view.center;
    [self.view addSubview:imageView];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
